package com.example.system.domain.student.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
public class StudentVO {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long studentId;
    private String nickName;
    private String classroomName;
    private String email;
    private String schoolName;
    private String majorName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    private Integer status;
    
    /**
     * 状态名称：正常、禁言、拉黑
     */
    private String statusName;
}
